package Demo2;
class Student05{
    public Student05(){
        System.out.println("调用了无参数构造方法");
    }
}

public class Example05 {
    public static void main(String[] args) {
        System.out.println("声明对象...");
        Student05 stu=null;
        System.out.println("实例化对象...");
        stu=new Student05();
    }
}
